import request from '@/utils/request'


  // 查询料仓数据
  export function selectSiloList(data) {
    return request({
      url: '/radarSilo/list',
      method: 'get',
      params: data
    })
  }

  //料仓添加
  export function addSilo(data) {
    return request({
      url: '/radarSilo',
      method: 'post',
      data: data
    })
  }

  //料仓修改
  export function updateSilo(data) {
    return request({
      url: '/radarSilo',
      method: 'put',
      data: data
    })
  }

    
  // 删除料仓
  export function delSilo(stockIds) {
    return request({
      url: '/radarSilo/' + stockIds,
      method: 'delete'
    })
  }

  // 查询料仓与模型
export function selectSiloWithConfList(data) {
  return request({
    url: '/radarSilo/siloWithConfList',
    method: 'post',
    data: data
  })
}